package service.local;

import java.util.List;

import javax.ejb.Local;

import model.Role;
import service.ServiceException;
@Local
public interface RoleService {
	
    Role insertRole(Role role);
	
	Role updateRole(Role role);
	
	void deleteRole(Role role);
	
	List<Role> getAll();

	Role getRoleByName(String roleAsString);

	List<Role> getRoleByUserName(String user);
	
}
